<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/reSize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/personCenter.css">
</head>
<body>
<div class="top-bar">
    <div class="w clearfloat">
        <ul class="top_left clearfloat">
            <li>
                <img src="img/phone1.png" alt="">
                0500-6000000
            </li>
            <li>
                <img src="img/time.png" alt="">
                上午9点至下午6点
            </li>
        </ul>
        <ul class="top_right">
            <li>
                <a href="">
                    <img src="img/addpeople_fill.png" alt="">
                    登录
                </a>
            </li>
            <li>
                <a href="">
                    <img src="img/register.png" alt="">
                    注册
                </a>
            </li>
            <li>
                <a href="">
                    购物车
                </a>
            </li>
        </ul>
    </div>
    <div class=""></div>
</div>
<div class="header">
    <div class="w clearfloat">
        <a href="" class="logo">
            <img src="img/logo.png" alt="">
        </a>
        <ul class="menu clearfloat">
            <li>
                <a href="" class="checked title" style="color: #fff;background-color: #ff6f00;">
                    首页
                </a>
            </li>
            <li>
                <a href="" class="title">
                    卧室
                </a>
            </li>
            <li>
                <a href="" class="title">
                    餐厅
                </a>
            </li>
            <li>
                <a href="" class="title">
                    厨房
                </a>
            </li>
            <li>
                <a href="" class="title">关于我们</a>
                <ul class="subMenu clearfloat" style="display: none">
                    <li>
                        <a href="">支付方式</a>
                    </li>
                    <li>
                        <a href="">
                            加盟方式
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<div style="background-color: #F2F2F2">
    <div class="w show">
        <span>首页</span>
        <span>/</span>
        <span>客厅</span>
    </div>
</div>
<div class="shoppingCart">
     <div class="w shoppingCart-content" id="goods-detail-content">

     </div>
</div>

<div class="footer">
    <div class="w clearfloat">
        <ul class="footer-left">
            <li>
                <h3>关于我们</h3>
                <a href="#">品牌介绍</a>
                <a href="#">加盟方式</a>
                <a href="#">联系我们</a>
            </li>
            <li>
                <h3>关于我们</h3>
                <a href="#">品牌介绍</a>
                <a href="#">加盟方式</a>
                <a href="#">联系我们</a>
            </li>
            <li>
                <h3>关于我们</h3>
                <a href="#">品牌介绍</a>
                <a href="#">加盟方式</a>
                <a href="#">联系我们</a>
            </li>
            <li class="about">
                <h3>关于我们</h3>
                <img class="ercode" src="img/erweima.jpg" alt="">
                <span>
                     <img class="icon" src="img/wechart.png" alt="">
                     官方微信
                 </span>
            </li>
        </ul>
        <img class="footer-right" src="img/logo.png" alt="">
    </div>
    <p>Copyright © 2010-2017 家居商城. All rights reserved.</p>
</div>

<script type="text/html" id="goods-detail-template">
    <div class="shoppingCart-container clearfloat">
        <div class="cart-left">
            <img src="http://os8zprmv7.bkt.clouddn.com/{{data.pictionsJson}}" alt="">
        </div>
        <div class="cart-right">
            <h1>{{data.goodsName}}</h1>
            <div class="striping"></div>
            <span class="cart">¥ {{data.price}}</span>
            <div class="buy">
                <input class="buy-button" type="button" value="加入购物车" id="saveCart">
                <div class="choose-num-w clearfloat">
                    <span class="choose-num" id="subtraction" onclick="updateCartNum('{{data.id}}','sub')">-</span>
                    <input class="choose-num" id="num-value"style="border-left:none;border-right: none" type="number" value="1">
                    <span class="choose-num" id="addition" onclick="updateCartNum('{{data.id}}','add')">+</span>
                </div>
            </div>
            <input type="hidden" id="id" value="{{data.id}}">
            <input type="hidden" id="goodsName" value="{{data.goodsName}}">
            <input type="hidden" id="price" value="{{data.price}}">
        </div>
    </div>
</script>

<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/index.js"></script>
<script src="js/template-web.js"></script>


<script src="js/jdgj/config.js"></script>
<script src="js/jdgj/goods.js"></script>
</body>
</html>